/*
 * loginwindow.h
 * loginWindow登录窗口
 * Created by wzy on 2017/9/21.
 * Copyright @ 2017 wzy. All rights reserved.
 */
#ifndef LOGINWINDOW_H
#define LOGINWINDOW_H

#include <QWidget>
#include "../client/client.h"

namespace Ui {
class loginWindow;
}

class loginWindow : public QWidget
{
    Q_OBJECT

public:
    explicit loginWindow(QWidget *parent = 0);
    void setClient(SimpleqqClient* c){client = c;}

    ~loginWindow();

public slots:
    void loginAcc(int);
private slots:
    void on_button_login_clicked();

    void on_exit_button_clicked();

private:
    Ui::loginWindow *ui;

    SimpleqqClient* client;
};

#endif // LOGINWINDOW_H
